package moh.s2.s2service;

import java.util.List;

import moh.s2.s2entity.AppSettingVO;

public interface AsService {
	
	public List<AppSettingVO> getAppSettings();
	public List<AppSettingVO> getAppSettings(String mainId);
	public AppSettingVO getAppSetting(String mainId, String subId);
	//public List<AppSettingVO> getAppSettings(String paramName, String value);
	
	public List<AppSettingVO> getAppSettings(AppSettingVO appSettingVO);
	
	
	/**
	 *  @param vo - entity to be added,  subid should be null 
	 *  @return newly added object
	 * */	
	public AppSettingVO add(AppSettingVO appSettingVO); 
	
	public boolean delete(String mainId, String subId);
	public boolean delete(int id);
	
	public AppSettingVO get(int id);
	
	public AppSettingVO update(AppSettingVO appSettingVO);
	
	
}
